{include file="include/header1.html"}

<!-- topbar starts -->
{include file="include/header2.html"}
<!-- topbar ends -->
        <div class="container-fluid">
        <div class="row-fluid">

<!-- left menu starts -->
{include file="include/leftmenu.html"}
<!-- left menu ends -->

    <div id="content" class="span10">
			<!-- content starts -->
			

			<div>
				<ul class="breadcrumb">
					<li>
						<a href="#">首页</a> <span class="divider">/</span>
					</li>
					<li>
						<a href="#">页面</a>
					</li>
				</ul>
			</div>

    <div class="row-fluid sortable">	
				<div class="box span12">
					<div class="box-header well" data-original-title>
						<h2><i class="icon-plus"></i>浏览所有页面</h2>
						<div class="box-icon">
							<a href="#" class="btn btn-setting btn-round"><i class="icon-cog"></i></a>
							<a href="#" class="btn btn-minimize btn-round"><i class="icon-chevron-up"></i></a>
							<a href="#" class="btn btn-close btn-round"><i class="icon-remove"></i></a>
						</div>
					</div>
					<!--内容-->
                                        <div class="box-content">
                                            <div class="breadcrumb"><a href="{$webpaths}?c=pageedit&a=edit">添加单页面</a> | <a href="{$webpaths}?c=pageedit">浏览所有页面</a></div>
                                                <table class="table table-striped table-bordered bootstrap-datatable datatable">
						  <thead>
							  <tr>
								  <th>Name</th>
								  <th>Date</th>
								  <th>Actions</th>
							  </tr>
						  </thead>   
						  <tbody>
                                                      {section name=i loop=$contentdata}
							<tr>
								<td class="center"><a href="{$webpaths}?c=pageedit&a=edit&id={$contentdata[i].id}">{$contentdata[i].title}</a></td>
								<td class="center">{$contentdata[i].date}</td>
								<td class="center">
									<a class="btn btn-info" href="{$webpaths}?c=pageedit&a=edit&id={$contentdata[i].id}">
										<i class="icon-edit icon-white"></i>  
										Edit                                            
                                                                        </a><input type="hidden" name="myaaa1" value="{$contentdata[i].id}" /><input type="hidden" name="myaaa2" value="{$contentdata[i].title}" />
									<a class="btn btn-danger btn-setting-my2" href="#">
										<i class="icon-trash icon-white"></i> 
										Delete
									</a>
								</td>
							</tr>
                                                        {/section}
                                                  </tbody>
                                                </table>
					</div>
                                        <!--内容-->
				</div><!--/span-->
				
			</div><!--/row-->
                        
    </div>

    </div>
    <hr />
{include file="include/footer2.html"}
</div>
{include file="include/footer1.html"}